package jn.chen.utils.emailCode.bean;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @className: JavaBean
 * @author: chenLin
 * @version: 1.0.0
 * @description:
 * @date: 2022/11/8 0008 9:57
 */
@Component
@ConfigurationProperties(prefix = "spring.mail")
public class JavaBean {

    public JavaBean(){}

    private String username;
    private String host;
    private String password;
    private String fromName;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getFromName() {
        return fromName;
    }

    public void setFromName(String fromName) {
        this.fromName = fromName;
    }
}
